package com.missilike.repository.mapper;

import com.missilike.repository.entity.MilAccount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.missilike.repository.entity.MilAccount;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kin
 * @since 2019-01-15
 */
public interface MilAccountMapper extends BaseMapper<MilAccount> {

    MilAccount queryUser(@Param("password") String password,@Param("account")  Long account,@Param("phone")  String phone);

    Integer insertMilAccount(MilAccount milAccount);

    List<MilAccount> selectTopUser();

    void updateStatusByIds(@Param("accountIdList") String[] accountIdList);

    List<String> selectResetAccountId();
}
